import java.awt.BorderLayout;
import javax.swing.JPanel;
import javax.swing.JFrame;
import javax.swing.JTextField;
import java.awt.Rectangle;
import java.awt.Color;
import javax.swing.JLabel;
import javax.swing.JButton;
import java.awt.Dimension;

public class InsertData extends JFrame {

	private static final long serialVersionUID = 1L;
	private JPanel jContentPane = null;
	private JTextField textNome = null;
	private JTextField textIdade = null;
	private JLabel labelNome = null;
	private JLabel labelIdade = null;
	private JButton botaoInsereNoBanco = null;

	/**
	 * This is the default constructor
	 */
	public InsertData() {
		super();
		initialize();
	}

	/**
	 * This method initializes this
	 * 
	 * @return void
	 */
	private void initialize() {
		this.setSize(279, 195);
		this.setContentPane(getJContentPane());
		this.setTitle("JFrame");
	}

	/**
	 * This method initializes jContentPane
	 * 
	 * @return javax.swing.JPanel
	 */
	private JPanel getJContentPane() {
		if (jContentPane == null) {
			labelIdade = new JLabel();
			labelIdade.setBounds(new Rectangle(56, 71, 38, 16));
			labelIdade.setText("Idade:");
			labelNome = new JLabel();
			labelNome.setBounds(new Rectangle(56, 46, 38, 16));
			labelNome.setText("Nome:");
			jContentPane = new JPanel();
			jContentPane.setLayout(null);
			jContentPane.setBackground(new Color(224, 183, 164));
			jContentPane.add(getText1(), null);
			jContentPane.add(getTextIdade(), null);
			jContentPane.add(labelNome, null);
			jContentPane.add(labelIdade, null);
			jContentPane.add(getBotaoInsereNoBanco(), null);
		}
		return jContentPane;
	}

	/**
	 * This method initializes text1	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	private JTextField getText1() {
		if (textNome == null) {
			textNome = new JTextField();
			textNome.setBounds(new Rectangle(100, 43, 130, 20));
		}
		return textNome;
	}

	/**
	 * This method initializes textIdade	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	private JTextField getTextIdade() {
		if (textIdade == null) {
			textIdade = new JTextField();
			textIdade.setBounds(new Rectangle(100, 73, 130, 20));
		}
		return textIdade;
	}

	/**
	 * This method initializes botaoInsereNoBanco	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getBotaoInsereNoBanco() {
		if (botaoInsereNoBanco == null) {
			botaoInsereNoBanco = new JButton();
			botaoInsereNoBanco.setBounds(new Rectangle(55, 105, 100, 24));
			botaoInsereNoBanco.setText("Insert Data");
		}
		return botaoInsereNoBanco;
	}

}  //  @jve:decl-index=0:visual-constraint="69,16"
